/*
 * @Descripttion: 配置模块API定义
 * @Author: liuxiaoling
 * @Date: 2021-03-28 15:37:54
 * @LastEditors: liuxiaoling
 * @LastEditTime: 2021-04-02 15:52:57
 */
import request from '@/utils/request'

const config = {
  // 班制属性
  getClassproperties: () =>
    request.get('/api/config/classproperties/drop', {
      hideloading: false
    }),

  // 职位属性
  getJobattributes: () =>
    request.get('/api/config/jobattributes/drop', {
      hideloading: false
    }),

  // 福利属性
  getBenefits: () =>
    request.get('/api/config/benefit/drop', {
      hideloading: false
    }),

  // 算薪方式
  getPaymodes: () =>
    request.get('/api/config/paymode/drop', {
      hideloading: false
    }),

  // 发薪日
  getPaydays: () =>
    request.get('/api/config/payday/drop', {
      hideloading: false
    }),

  // cos临时访问凭证
  getCosToken: () =>
    request.get('/api/config/cos/getToken', {
      hideloading: false
    })
}

export default config
